package cn.cloudreal.cbms.vo;

/**
 * 权限架构
 * 
 * @author gao_xuejiao
 */
public class Purview
{

    private Integer id; // 编号
    private String privCode; // 权限编号
    private String actionName;// 权限名称
    private String actionUrl;// 权限动作
    private String mark;// 权限描述
    private Integer parentId;// 父节点id
    private String nodeType;// 节点类型 1.菜单节点 2. 按钮节点
    private String parentName;

    public Purview()
    {
    }

    public Purview(Integer id,
            String privCode,
            String actionName,
            String actionUrl,
            String mark,
            Integer parentId,
            String nodeType,
            String parentName)
    {
        this.id = id;
        this.privCode = privCode;
        this.actionName = actionName;
        this.actionUrl = actionUrl;
        this.mark = mark;
        this.parentId = parentId;
        this.nodeType = nodeType;
        this.parentName = parentName;
    }

    public String getParentName()
    {
        return parentName;
    }

    public void setParentName(String parentName)
    {
        this.parentName = parentName;
    }

    public Integer getId()
    {
        return id;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public String getPrivCode()
    {
        return privCode;
    }

    public void setPrivCode(String privCode)
    {
        this.privCode = privCode;
    }

    public String getActionName()
    {
        return actionName;
    }

    public void setActionName(String actionName)
    {
        this.actionName = actionName;
    }

    public String getActionUrl()
    {
        return actionUrl;
    }

    public void setActionUrl(String actionUrl)
    {
        this.actionUrl = actionUrl;
    }

    public String getMark()
    {
        return mark;
    }

    public void setMark(String mark)
    {
        this.mark = mark;
    }

    public Integer getParentId()
    {
        return parentId;
    }

    public void setParentId(Integer parentId)
    {
        this.parentId = parentId;
    }

    public String getNodeType()
    {
        return nodeType;
    }

    public void setNodeType(String nodeType)
    {
        this.nodeType = nodeType;
    }

}
